package cn.waka.sys.admin.object;

import java.io.Serializable;
import java.sql.Timestamp;

public class AppLog implements Serializable {
    private static final long serialVersionUID = -3682025834631593175L;

    public final static int ACTION_ADD = 1;
    public final static int ACTION_EDIT = 2;
    public final static int ACTION_ONLINE = 3;
    public final static int ACTION_OFFLINE = 4;

    private int id;
    private int appId;
    private int userId;
    private String username;
    private int action;
    private Timestamp time;

    public int getAppId() {
        return appId;
    }

    public void setAppId(int appId) {
        this.appId = appId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getAction() {
        return action;
    }

    public void setAction(int action) {
        this.action = action;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


}
